

var base_url = 'https://vendormina.lzljtdpx.com/';

App({
  onLaunch: function () {
    var that = this;
    wx.getSystemInfo({
      success: function (res) {
        that.globalData.windowHeight = res.windowHeight
      }
    })
  },
  globalData: {
    userInfo: null,
    accountInfo: {},
    base_url: base_url,
    error_toast_duration: 2000,
    login_url: base_url + 'user/login',
    payment_getWechatInfo_url: base_url + 'payment/getWechatInfo',
    orderList_url: base_url + 'order/list',
    orderInfo_url: base_url + 'order/info',
    orderDel_url: base_url + 'order/del',
    invoiceInfo_url: base_url + 'order/invoice',
    shopList_url:base_url+'shop/shopList',
    addAddress_url: base_url + "address/add", 
    addressInfo_url: base_url + "address/info", 
    editAddress_url: base_url + "address/modify", 
  }
})